package com.blues.pattern.factory.abstrac;

/**
 * design_pattern
 *
 * @author spring blueices
 * @create 2018-03-17 上午11:48
 **/
public class FactoryTest {


    /**
     * @author blueices
     * @date 18/3/17 下午12:08
     * @param [args]
     * @return void
     */
    public static void main(String[] args) {
        Factory factory = new SimpleHuoTuiFactory();
        Factory factory1 = new ChildrenHuoTuiFactory();
        System.out.println(factory.getHuoTui());
        System.out.println(factory1.getHuoTui());

    }

}
